package _25_visitor_pattern.v_common;

/**
 * @Description: 抽象元素
 * @Auther: 2019/6/30 9:33 by zhang.jy
 */
public abstract class Element {
	//定义业务逻辑
	public abstract void doSomething();

	//允许谁来访问
	public abstract void accept(IVisitor visitor);
}